package cn.kgm.user.dto.dto;

import cn.kgm.core.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;

/**
 * # 技术改变自己 #
 * toB客户
 * @author kappi
 * @date   2024-04-08 15:08:08
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@ApiModel(value = "UserTypeSysUpdateDTO", description = "toB客户")
public class UserTypeSysUpdateDTO extends Entity<Long> {

    /**
     * toB客户
     */
    @ApiModelProperty(value = "toB客户", position = 2)
    @NotNull(message = "toB客户不能为空")
    private Long userId;

    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID", position = 3)
    @NotNull(message = "部门ID不能为空")
    private Long deptId;

    /**
     * 是否可用:[0,不可用];[1,可用]
     */
    @ApiModelProperty(value = "是否可用:[0,不可用];[1,可用]", position = 4)
    @NotNull(message = "是否可用:[0,不可用];[1,可用]不能为空")
    private Boolean usable;

}
